extends ../../layout/layout

block content
  .content-wrapper
    .search-condition
      form#form-search
        .form-inline
          .form-group
            label.marginR10 城&emsp;市&emsp;
              select.form-control.form-width100(name="cityId")
                option(value="") 请选择
          .form-group
            label.marginR10 状&emsp;态&emsp;
              select.form-control.form-width100(name="status")
                option(value="") 请选择
          .form-group
            label.marginR10 公司名称
              input.form-control.form-width150(name="name" placeholder="请输入公司名称")
          .form-group
            label.marginR10 录入时间
              input.form-control.form-width150#createDate(name="createDate" placeholder="年-月-日")
          .form-group
            button.pull-right.btn.btn-default#search-btn(type="button")
              i.fa.fa-search
              span 查询
    .com-op.marginT10
      button.btn.btn-default.marginR10#btn-edit(type="button")
        //- i.fa.fa-edit
        span 修改
      button.btn.btn-default.marginR10#btn-add(type="button")
        i.fa.fa-plus
        span 新增
      button.btn.btn-default.marginR10(type="button")
        //- i.fa.fa-?
        span 操作记录

    .content-body.marginT10#table-box
      table.table#table-level
      #pager-level

block vendor_css
  link(rel='stylesheet', type="text/css", href="../../vendor/jqGrid/css/ui.jqgrid-bootstrap.css")

block vendor_js
  script(src="../../vendor/jqGrid/js/jquery.jqGrid.js")
  script(src="../../vendor/jqGrid/js/i18n/grid.locale-cn.js")
  script(src="../../vendor/laydate/laydate.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")

block self_js
  script(src="../../js/module/driver/hr-level.js")

block self_css
  //- link(rel="stylesheet", href="../../css/driver/list.css")

block layer

  //- 新增/修改
  .layer-box#layer-level-detail
    form.mw1200.padding20#form-level-detail(name="form-level-detail", autocomplete="off")
      +levelForm

mixin levelForm
  .row.form-row.form-row-sm
    .col-xs-12
      .form-text 城市
      .form-container
        select.form-control.form-width100(name="cityId")
            option(value="") 请选择
  .row.form-row.form-row-sm
    .col-xs-12
      .form-text 等级名称
      .form-container
        input.form-control(name="name", placeholder="请输入等级名称", disabled)
  .row.form-row.form-row-sm
    .col-xs-12
      .form-text 状态
      .form-container
        label.marginR10
          input(type="radio", name="state",  value="0" disabled)
          span &ensp;启用
        label
          input(type="radio", name="state", value="1" disabled)
          span &ensp;停用
  .text-center.marginB10
    button.btn.btn-primary.marginR10#level-save(type="button")
      i.fa.fa-save
      span 保存
